package com.jiuyun.entity;

import lombok.Data;

import java.util.Date;
@Data
public class Question {
    int q_id;
    String q_name;
    int q_score;
    int q_creator;
    int q_type;
    String q_a;
    String q_b;
    String q_c;
    String q_d;
    String q_answer;
    Date update_time;

    public Question(int q_id, String q_name, int q_score, int q_creator, int q_type, String q_a, String q_b, String q_c, String q_d, String q_answer, Date update_time) {
        this.q_id = q_id;
        this.q_name = q_name;
        this.q_score = q_score;
        this.q_creator = q_creator;
        this.q_type = q_type;
        this.q_a = q_a;
        this.q_b = q_b;
        this.q_c = q_c;
        this.q_d = q_d;
        this.q_answer = q_answer;
        this.update_time = update_time;
    }

    public Question() {
    }
}
